### Function Description

Used to perform actions on the steps of an executed instance, such as retry, ignore errors, and so on.

### Request Parameters

#### Interface parameters

| Fields           | Type   | Required | Description                                                                                                                                                                                              |
|------------------|--------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| bk_scope_type    | string | yes      | Resource scope type. Optional values: biz - Business，biz_set - Business Set                                                                                                                              |
| bk_scope_id      | string | yes      | Resource scope ID. Corresponds to bk_scope_type, which means business ID or business set ID                                                                                                              |
| bk_biz_id        | long   | yes      | Deprecated. Business ID. This field has been deprecated and replaced by the field bk_scope_type+bk_scope_id                                                                                              |
| job_instance_id  | long   | yes      | Job instance ID                                                                                                                                                                                          |
| step_instance_id | long   | yes      | Step instance ID                                                                                                                                                                                         |
| operation_code   | int    | yes      | Operation Code: 2. Retry failed IP; 3. Ignore error; 6. Confirm continue; 8. Retry all ; 9. Terminate the confirmation process; 10. Restart the confirmation; 11. Enter the next step; 12. Forcibly skip |

##### Operation_code details

| operation_code | Operation type           | Applicable steps                      | Description                                                                                                         |
|----------------|--------------------------|---------------------------------------|---------------------------------------------------------------------------------------------------------------------|
| 2              | Retry failed IP          | Script execution, File transfer steps | Redistribute task to failed IP                                                                                      |
| 3              | Ignore error             | Script execution, File transfer steps | Ignore error and continue                                                                                           |
| 6              | Confirmed                | Manual confirmation step              | Confirm to proceed                                                                                                  |
| 8              | Retry all                | Script execution, File transfer steps | Re-issue tasks to all IPS                                                                                           |
| 9              | Termination confirmation | Manual confirmation step              | Confirm termination of execution                                                                                    |
| 10             | Re-initiate confirmation | Manual confirmation step              | Re-initiate confirmation                                                                                            |
| 11             | Go to the next step.     | Script execution, File transfer steps | If that state of the step is terminate successfully, the method is used for continue executing the subsequent steps |
| 12             | Forced skip              | Script execution, File transfer steps | When the step status is terminated, it is used to forcibly skip the current step and execute the subsequent step    |

### Example of request

- POST

```json
{
    "bk_scope_type": "biz",
    "bk_scope_id": "1",
    "job_instance_id": 100,
    "step_instance_id": 200,
    "operation_code": 2
}
```

### Example of responses

```json
{
    "result": true,
    "code": 0,
    "data": {
        "step_instance_id": 200,
        "job_instance_id": 100
    },
    "job_request_id": "xxx"
}
```

### Response Description

{% include '_generic_response.md.j2' %}

#### data

| Fields           | Type | Never null | Description      |
|------------------|------|------------|------------------|
| job_instance_id  | long | yes        | Job instance ID  |
| step_instance_id | long | yes        | Step instance ID |
